/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package motiveai.factors;

/**
 *
 * @author oxplay
 */
public class FactorBoolean extends AbstractFactor {

    private boolean valueNeeded = false;
    private boolean valueDefault = false;

    public FactorBoolean(boolean valueDefault, boolean valueNeeded, int performance) {
        super(performance);
        this.valueDefault = valueDefault;
        this.valueNeeded = valueNeeded;
    }

    public boolean getDefaultValue() {
        return valueDefault;
    }

    public void setDefaultValue(boolean value) {
        this.valueDefault = value;
    }

    public boolean getValueNeeded() {
        return valueNeeded;
    }

    public void setValueNeeded(boolean valueNeeded) {
        this.valueNeeded = valueNeeded;
    }
}
